package Algorythm;

import java.util.HashSet;

import Default.DataMessage;
import Default.Variables;

import world.Time;

public class Data {

	int time;
	HashSet<Integer> id_list;
	double grid[][];
	
	public Data()
	{
		time=Time.time;
		grid=new double[Variables.gridSizeY][Variables.gridSizeX];
	}
	
	public void setData(DataMessage data)
	{
		id_list.add(data.id);
	}
	public boolean isSameTime(DataMessage data)
	{
		if(data.time==time)
			return true;
		return false;
	}
	public void updateNoise()
	{
		
	}
	public void detectNoise()
	{
		
	}
}
